package com.example.oversea_home_spring.serviceImpl;


import com.example.oversea_home_spring.bean.Management;
import com.example.oversea_home_spring.mapper.ManagementMapper;
import com.example.oversea_home_spring.service.ManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagementServiceImpl implements ManagementService {

    @Autowired
    ManagementMapper managementMapper;


    //设置员工在哪个仓库上班
    @Override
    public int addOneWorker(Management management){
        return managementMapper.addOneWorker(management);
    }
}
